<?php
//error_reporting(E_ALL);
//ini_set('display_errors', 1);

$this->useClass("Action_Community_FeedHandler");
class Action_Node_GetTopMenuSettings extends Action_Community_FeedHandler {
	public function getFeedModel() {
		$this->rh->UseClass("AggregatedModel_Feed_FeedInterface");
    $this->rh->UseClass("AggregatedModel_Feed_ReaderItems");
    return new AggregatedModel_Feed_ReaderItems();
	}
  
  function process() {
 		$this->rh->UseClass('Action_Node_TopMenu');
		$topMenu = new Action_Node_TopMenu( $this->rh );
		$result = $topMenu->getMenuSettingsHtml();
    
    print $result;
    exit;
  }
}
